
.compress-card {
  background: linear-gradient(360deg, #2d7d8b, #2b4ba1);
  border-radius: 15px;
  :deep(.el-card__header) {
    border: none !important;
    padding-bottom: 0 !important;
  }
}

.card-header {
  text-align: center;
  h3 {
    color: white;
    margin: 0;
    font-size: 1.5rem;
  }
}

// 上传区域样式
.upload-area {
  border: 2px dashed rgba(255, 255, 255, 0.5);
  border-radius: 10px;
  transition: all 0.3s;
  background-color: rgba(255, 255, 255, 0.1);
  
  &:hover {
    border-color: rgba(255, 255, 255, 0.8);
    background-color: rgba(255, 255, 255, 0.15);
  }
}

.upload-label {
  display: block;
  width: 100%;
  cursor: pointer;
}

.upload-content {
  color: white;
  
  h3 {
    font-size: 1.4rem;
    color: white;
  }
  
  p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
  }
}

.upload-input {
  display: none;
}

// 控制面板样式
.controls-panel {
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

.control-item {
  &.format-control {
    flex: 2;
  }
  
  &.switch-control {
    .control-label {
      margin-bottom: 0;
      flex-shrink: 0;
    }
  }
}

.control-label {
  font-weight: 500;
  color: white;
}

.control-slider {
  :deep(.el-slider__runway) {
    height: 6px;
    background-color: rgba(255, 255, 255, 0.3);
  }
  
  :deep(.el-slider__bar) {
    height: 6px;
    background: rgba(255, 255, 255, 0.8);
  }
  
  :deep(.el-slider__button) {
    width: 16px;
    height: 16px;
    border: 2px solid #fff;
    background: #6a11cb;
  }
}

// 图片列表样式
.list-header {
  h4 {
    color: white;
    margin: 0;
    font-size: 1.2rem;
  }
}

.image-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  
  @media (max-width: 768px) {
    grid-template-columns: 1fr;
  }
}

.image-card {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.image-preview {
  img {
    height: 150px;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.3s;
    
    &:hover {
      transform: scale(1.02);
    }
  }
}

.image-overlay {
  top: 5px;
  right: 5px;
  opacity: 0;
  transition: opacity 0.3s;
  
  .image-preview:hover & {
    opacity: 1;
  }
}

.image-info {
  .image-name {
    font-weight: 500;
    color: white;
  }
}

.detail-row {
  font-size: 0.9rem;
  
  .label {
    color: rgba(255, 255, 255, 0.8);
  }
  
  .value {
    color: white;
    font-weight: 500;
    
    &.success {
      color: #67c23a;
    }
  }
}

.progress-text {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.8);
}

// 响应式设计
@media (max-width: 768px) {
  .upload-content {
    h3 {
      font-size: 1.2rem;
    }
  }
  
  .image-cards {
    grid-template-columns: 1fr;
  }

  .control-row {
    flex-direction: column;
    gap: 15px;
  }
}